<DIV STYLE="font-weight:bold;font-size:11pt;">
  {% ifnotequal page_vars.prev_page None %}
    <A HREF="{{page_url}}/{{page_vars.prev_page}}/">Previous</A>
  {% endifnotequal %}

  {% for page in page_vars.pages %}
    {% ifequal page page_vars.current_page %}
      {{page|add:"1"}}
    {% else %}
      <A HREF="{{page_url}}/{{page}}/">{{page|add:"1"}}</A> 
    {% endifequal %}
  {% endfor %}

  {% if page_vars.next_page %}
    <A HREF="{{page_url}}/{{page_vars.next_page}}/">Next</A>
  {% endif %}
</DIV>
